WBCR\APT\AutoPostThumbnails D

Total Complexity 243
Dependencies 12
Dependents 2
Total lines 1,506
Lines of code 979
Logical lines of code 603
Comment lines 304
Methods 41
Properties 7

Methods 41

Method Rating Maintainability Complexity Lines of code
publish_post()
C
35 25 73
upload_to_library()
C
33 22 93
apt_api_google()
B
42 22 46
generate_post_thumb()
A
36 12 78
upload_font()
A
44 12 40
get_posts_ids()
A
42 11 51
apt_replace_thumbnail()
A
49 11 30
get_fonts()
A
45 10 43
generate_image_with_text()
A
40 9 57
get_posts_query()
A
42 9 56
get_thumbnail_id()
A
53 9 21
insert_attachment()
A
48 7 32
init()
S
50 7 26
apt_check_api_key()
S
52 7 22
generate_and_attachment()
S
46 6 36
ajax_process_post()
S
52 6 24
ajax_delete_post_thumbnails()
S
57 5 16
source_content()
S
57 5 15
apt_get_thumbnail()
S
52 4 27
check_api_notice()
S
54 4 19
array_contains_key()
S
59 4 15
auto_upload()
S
60 4 12
__construct()
S
56 2 20
get_file_contents()
S
66 3 8
save_post()
S
63 3 10
hide_notice_auto_generation()
S
71 3 5
is_allowed_file_ext()
S
65 3 9
apt_getThumbHtml()
S
59 2 12
UseDefault()
S
62 2 11
instance()
S
71 2 6
check_required_transition()
S
74 2 5
ajax_actions()
S
59 1 13
notice_auto_generation()
S
67 1 11
media_AptTabContent()
S
72 1 5
rest_after_insert()
S
79 1 3
set_fonts_upload_dir()
S
70 1 6
get_posts_count()
S
68 1 7
addToMediaFromApt()
S
72 1 5
allow_upload_webp()
S
76 1 4
find_from_text_category()
S
74 1 4
init_includes()
S
80 1 3